package com.zjhd.sealcutting.service;

import com.zjhd.sealcutting.domain.PressOrganization;
import com.zjhd.sealcutting.param.PressOrganizationSearchQuery;
import com.zjhd.sealcutting.utils.response.ResponseResult;
import com.zjhd.sealcutting.vo.SearchResult;

/**
 * TODO  印机构管理
 *
 * @author wangchao
 * @version 1.0
 * @date 2020/11/27 15:04
 */
public interface PressOrganizationService {

    /**
     * TODO  分页查询印机构
     * @author wangchao
     * @date 2020/11/27 15:15
     * @param
     * @return
     */
    SearchResult queryPressOrganizationParamlist(PressOrganizationSearchQuery param)throws Exception;

    /**
     * TODO  新增印机构
     * @author wangchao
     * @date 2020/11/27 15:16
     * @param
     * @return
     */
    ResponseResult insertPressOrganization(PressOrganization pressOrganization)throws Exception;

    /**
     * TODO  修改印机构
     * @author wangchao
     * @date 2020/11/27 15:16
     * @param
     * @return
     */
    ResponseResult updatePressOrganization(PressOrganization pressOrganization)throws Exception;

    /**
     * TODO  删除印机构
     * @author wangchao
     * @date 2020/11/27 15:17
     * @param
     * @return
     */
    ResponseResult delPressOrganization(Integer id)throws Exception;

    /**
     * TODO  根据ID查询印机构信息
     * @author wangchao
     * @date 2020/11/27 15:18
     * @param
     * @return
     */
    PressOrganization queryByIdPressOrganization(Integer id)throws Exception;

    /**
     * TODO  禁止或启用印机构
     * @author wangchao
     * @date 2020/11/27 15:19
     * @param
     * @return
     */
    boolean disableOrEnablePress(Integer id, Integer state)throws Exception;
}
